/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.webrx;

/**
 * <p>Project: jse2303 - RegExp2
 * <p>Powered by webrx On 2023-07-17 17:22:40
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class RegExp2 {
    public static void main(String[] args) {
        //判断字符串，是不是手机号
        String ps = "     13014577033   ".trim();
        //ring = "1[358][0-9]{9}";
        String p = ".*1[358][0-9]{9}.*";
        System.out.println(ps.matches(p));
    }
}
